import request from "../utils/request";

export const apiFn = <
  P = any,
  V = any
>(
  params: P,
) => {
  return request({
    url: `Xxx`,
    method: "post",
    params,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded",
    },
  }) as Promise<V>;
};

